package com.codedancer.campus.client.service.vo.systemMessage;

import com.codedancer.campus.enums.SystemMessageType;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

@Data
@ApiModel("系统消息Vo")
public class SystemMessageVo {

    @ApiModelProperty("uuid")
    private String uuid;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("是否已读")
    private Boolean isRead;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("消息类型")
    private SystemMessageType messageType;
}
